Skip to content

Revert "[Remove] MainResponse version override cluster setting (#3031) (#3032)"#3530

Merged
nknize merged 1 commit intoopensearch-project:2.xfrom
nknize:revert/mainResponseVersionSpoof2.x
Jun 8, 2022
Merged

Revert "[Remove] MainResponse version override cluster setting (#3031) (#3032)"#3530
nknize merged 1 commit intoopensearch-project:2.xfrom
nknize:revert/mainResponseVersionSpoof2.x

Conversation

@nknize
Copy link
Contributor

@nknize nknize commented Jun 7, 2022

This reverts commit 199fbb8 which removed the opensearch.http.override_main_response_version cluster setting.

The setting was originally added so users of legacy clients would not have to upgrade their client to begin using OpenSearch 1.x.
With 2.0 the REST API is further fragmented from legacy clients such that users are forced to upgrade to the latest OpenSearch client.
To reduce this friction OpenSearch is working on a REST API Versioning mechanism to support API compatibility with at least the legacy 7.x line; but this will not be ready until 2.2 at the earliest.

The immediate problem is that there is no OpenSearch version of Beats and Logstash and the upstream maintainers of these projects have no plans to support OpenSearch.
This has already lead to user pain regarding document type removal in beats which is alleviated by ignoring type removal in the bulk API and temporarily adding the docType endpoints back for certain REST APIs.
It is also leading to pain for users of different pipeline processor types in filebeat as these processors have explicit version checks for compatibility only with Elasticsearch.

To alleviate this pain, OpenSearch adds back the opensearch.http.override_main_response_version setting so users of Beats and logstash can continue to function by spoofing the OpenSearch cluster version to 7.10.2.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.0 Backport to 2.0 branch backwards-compatibility Clients Clients within the Core repository such as High level Rest client and low level client v2.1.0 Issues and PRs related to version 2.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants